package com.wr.recruit.service.dao.repo;

import com.wr.recruit.service.dao.dbo.CompanyDbo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface CompanyRepo extends JpaRepository<CompanyDbo, String>, JpaSpecificationExecutor<CompanyDbo> {

    CompanyDbo findAllById(Integer id);

    CompanyDbo findAllByCompanyName(String companyName);

    CompanyDbo findAllByCompanyCode(String companyCode);
}
